# -*- coding: utf-8 -*-

person = {'name': '小明'}  # 创建一个字典
person['name'] = '小红'   # 修改字典
person['sex'] = '女'     # 添加key-value
print(person['name'])   # 获取字典
del person['sex']       # 删除key-value

